﻿@model Core_Order
@{
    ViewBag.ParentUrl = "/Order/Index";
    ViewBag.Title = "保单详情";
}
@section header{
    <style>
        .tdright{text-align: right; width:20%;}
    </style>
}
@section breadcrumb
{
    <ul class="breadcrumb">
        <li>
            <i class="ace-icon fa fa-home home-icon"></i>
            <a href="/">首页</a>
        </li>
        <li class="active">@ViewBag.Title</li>
    </ul><!-- .breadcrumb -->
}

<div class="row">
    <div class="col-xs-12">
        <div class="widget-box transparent">
            <div class="widget-header widget-header-flat">
                <h4 class="smaller widget-title">
                    <i class="icon-search"></i>
                    保单信息
                </h4>
                <div class="widget-toolbar no-border">
                    <a class="btn btn-xs btn-yellow bigger" href="/order/index">
                        <i class="ace-icon fa fa-share"></i>
                        返回查询保单
                    </a>
                    </div>
            </div>

            <div class="widget-body">
                <div class="widget-main">
                    <div class="row">
                        <table class="table table-striped table-bordered table-hover">
                            <tr>
                                <td class="tdright">产品名称：</td>
                                <td>@Model.O_ProductName</td>
                                <td class="tdright">航班号：</td>
                                <td>@Model.O_Flag</td>
                            </tr>
                            <tr>
                                <td class="tdright">保单号：</td>
                                <td>@Model.O_PolicyNo</td>
                                <td class="tdright">状态：</td>
                                <td>@Enum.GetName(typeof(OrderStateEnum), Model.O_State)</td>
                            </tr>
                            <tr>
                                <td class="tdright"> 生效日：</td>
                                <td>@Model.O_STime</td>
                                <td class="tdright"> 期满日：</td>
                                <td>@Model.O_ETime</td>
                            </tr>
                            <tr>
                                <td class="tdright">创建时间：</td>
                                <td>@Model.O_CreateTime</td>
                                <td class="tdright">单证号：</td>
                                <td>@Model.O_TicketNo</td>
                            </tr>
                            <tr>
                                <td class="tdright">退保时间：	</td>
                                <td colspan="3">@Model.O_BackTime</td>
                            </tr>
                        </table>
                    </div>
                </div>
            </div>
        </div>


        <div class="widget-box transparent">
            <div class="widget-header widget-header-flat">
                <h4 class="smaller">
                    <i class="icon-search"></i>
                    被保人信息
                </h4>
            </div>

            <div class="widget-body">
                <div class="widget-main">
                    <div class="row">
                        <table class="table table-striped table-bordered table-hover">
                            <tr>
                                <td class="tdright">姓名：</td>
                                <td>@Model.O_UserName</td>
                                <td class="tdright">份数</td>
                                <td>@Model.O_Count</td>
                            </tr>
                            <tr>
                                <td class="tdright">性别：</td>
                                <td>@Enum.GetName(typeof(SexEnum), Model.O_UserSex)</td>
                                <td class="tdright">证件号：</td>
                                <td>(@Enum.GetName(typeof(CardTypeEnum), Model.O_UserCardType)) @Model.O_UserCardNo</td>
                            </tr>
                            <tr>
                                <td class="tdright">出生日期：</td>
                                <td>@Model.O_UserBirthday</td>
                                <td class="tdright">受益人：</td>
                                <td>@Model.O_UserAvail</td>
                            </tr>
                            <tr>
                                <td class="tdright">手机号码：</td>
                                <td>@Model.O_UserPhone</td>
                                <td></td>
                                <td></td>
                            </tr>
                        </table>
                    </div>
                </div>
            </div>
        </div>


        <div class="widget-box transparent">
            <div class="widget-header widget-header-flat">
                <h4 class="smaller">
                    <i class="icon-search"></i>
                    投保人信息
                </h4>
            </div>

            <div class="widget-body">
                <div class="widget-main">
                    <div class="row">
                        <table class="table table-striped table-bordered table-hover">
                            <tr>
                                <td class="tdright"> 姓名:</td>
                                <td>@Model.O_InsureName</td> 
                                <td class="tdright">性别：</td>
                                <td>@Enum.GetName(typeof(SexEnum), Model.O_InsureSex)</td>
                            </tr>
                            <tr>
                                <td class="tdright">出生日期：</td>
                                <td>@Model.O_InsureBirthday</td>
                                <td class="tdright">	证件号：</td>
                                <td>(@Enum.GetName(typeof(CardTypeEnum), Model.O_InsureCardType)) @Model.O_InsureCardNo</td>
                            </tr>
                        </table>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
